home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- }
- var §\x01§ = -82 + "\x01\x02"();
- while(true)
- {
- if(eval("\x01") == 313)
- {
- set("\x01",eval("\x01") + 673);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 800)
- {
- set("\x01",eval("\x01") - 11);
- if(eval(§§constant(0))[§§constant(10)][§§constant(6)](§§pop() + getProperty(§§pop(), _X) / 2 + eval(§§constant(11)),§§pop(),§§pop()) || eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X) + getProperty(§§constant(9), _width) / 2 + eval(§§constant(11)),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height) / 6,true) || eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X) + getProperty(§§constant(9), _width) / 2 + eval(§§constant(11)),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height),true))
- {
- setProperty(§§constant(9), _X, getProperty(§§constant(9), _X) - eval(§§constant(2)));
- }
- if(eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X) - getProperty(§§constant(9), _width) / 2 - eval(§§constant(11)),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height) / 2,true) || eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X) - getProperty(§§constant(9), _width) / 2 - eval(§§constant(11)),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height) / 6,true) || eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X) - getProperty(§§constant(9), _width) / 2 - eval(§§constant(11)),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height),true))
- {
- setProperty(§§constant(9), _X, getProperty(§§constant(9), _X) + eval(§§constant(2)));
- }
- if(eval(§§constant(0))[§§constant(10)][§§constant(6)](getProperty(§§constant(9), _X),getProperty(§§constant(9), _Y) - getProperty(§§constant(9), _height) - 15,true))
- {
- set(§§constant(8),1);
- }
- set(§§constant(12),0);
- set(§§constant(13),0);
- if(eval(§§constant(5))[§§constant(14)] < eval(§§constant(0))[§§constant(15)][§§constant(14)] && !eval(§§constant(16)) && !eval(§§constant(13)) && !eval(§§constant(5))[§§constant(6)](eval(§§constant(0))[§§constant(15)]) && eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15 && eval(§§constant(5))[§§constant(17)] != 20 && eval(§§constant(5))[§§constant(17)] != 25 && eval(§§constant(5))[§§constant(17)] != 30 && eval(§§constant(5))[§§constant(6)](eval(§§constant(0))[§§constant(4)]) && eval(§§constant(0))[§§constant(15)][§§constant(17)] != 45 && eval(§§constant(5))[§§constant(17)] != 35 && eval(§§constant(5))[§§constant(17)] != 40)
- {
- eval(§§constant(5))[§§constant(14)] += eval(§§constant(18));
- setProperty(§§constant(9), _xscale, eval(§§constant(19)));
- eval(§§constant(5))[§§constant(21)](§§constant(20));
- set(§§constant(16),0);
- set(§§constant(12),1);
- }
- else if(eval(§§constant(5))[§§constant(14)] > eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(15)][§§constant(14)] && !eval(§§constant(16)) && !eval(§§constant(13)) && !eval(§§constant(5))[§§constant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(15)]) && eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15 && eval(§§constant(5))[§§constant(17)] != 20 && eval(§§constant(5))[§§constant(17)] != 30 && eval(§§constant(5))[§§constant(17)] != 25 && eval(§§constant(5))[§§constant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(4)]) && eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(15)][§§constant(17)] != 45 && eval(§§constant(5))[§§constant(17)] != 35 && eval(§§constant(5))[§§constant(17)] != 40)
- {
- eval(§§constant(5))[§§constant(14)] -= eval(§§constant(18));
- setProperty(§§constant(9), _xscale, - eval(§§constant(19)));
- eval(§§constant(5))[§§constant(21)](§§constant(20));
- set(§§constant(16),0);
- set(§§constant(12),1);
- }
- if(eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(15)][§§constant(17)] == 45)
- {
- eval(§§constant(5))[§§constant(21)](§§constant(22));
- set(§§constant(12),0);
- }
- if(!eval(§§constant(12)) && eval(§§constant(5))[§§constant(17)] != 5)
- {
- set(§§constant(12),0);
- }
- if(eval(§§constant(5))[§§constant(17)] == 35)
- {
- eval(§§constant(5))[§§constant(14)] += eval(§§constant(18));
- }
- set(§§constant(23),9);
- set(§§constant(24),1);
- while(eval(§§constant(24)) <= eval(§§constant(23)))
- {
- set(§§constant(25),eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(10)][§§constant(25) + eval(§§constant(24))]);
- if(eval(§§constant(5))[§§constant(6)](eval(§§constant(25))) && eval(§§constant(12)) == 1)
- {
- set(§§constant(8),- eval(§§constant(26)));
- setProperty(§§constant(9), _Y, getProperty(§§constant(9), _Y) - 4);
- set(§§constant(12),0);
- }
- set(§§constant(24),eval(§§constant(24)) + 1);
- }
- set(§§constant(16),0);
- set(§§constant(27),0);
- if(!eval(§§constant(27)) && !eval(§§constant(13)) && !eval(§§constant(16)) && eval(§§constant(5))[§§constant(17)] != 25 && eval(§§constant(5))[§§constant(17)] != 20 && eval(§§constant(5))[§§constant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[§§constant(15)]))
- {
- if(eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15)
- {
- §§constant(28)();
- }
- if(eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15)
- {
- set(§§constant(16),0);
- }
- }
- break;
- }
- if(eval("\x01") == 230)
- {
- set("\x01",eval("\x01") + 29);
- §§push(eval(function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- }));
- }
- else if(eval("\x01") == 986)
- {
- set("\x01",eval("\x01") - 186);
- if(function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") - 11);
- }
- }
- else if(eval("\x01") == 85)
- {
- set("\x01",eval("\x01") + 137);
- }
- else if(eval("\x01") == 14)
- {
- set("\x01",eval("\x01") + 828);
- var §§pop() = function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- };
- }
- else if(eval("\x01") == 789)
- {
- set("\x01",eval("\x01") - 567);
- }
- else if(eval("\x01") == 222)
- {
- set("\x01",eval("\x01") - 208);
- §§push("\x0f");
- §§push(1);
- }
- else if(eval("\x01") == 842)
- {
- set("\x01",eval("\x01") - 612);
- §§push("\x0f");
- }
- else if(eval("\x01") == 259)
- {
- set("\x01",eval("\x01") - 21);
- §§push(!function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- });
- }
- else if(eval("\x01") == 582)
- {
- set("\x01",eval("\x01") - 359);
- }
- else
- {
- if(eval("\x01") != 238)
- {
- if(eval("\x01") == 223)
- {
- set("\x01",eval("\x01") + 375);
- if(_root.paus3)
- {
- speed = 0;
- maxspeed = 0;
- }
- if(!_root.paus3)
- {
- if(this.hitTest(_root.camera))
- {
- speed = 0;
- maxspeed = 10;
- damage = 0;
- grav++;
- _Y = _Y + grav;
- while(_root.ground.hitTest(_X,_Y,true))
- {
- _Y--;
- grav = 0;
- }
- if(_root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 2,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 6,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height,true))
- {
- _X = _X - speed;
- }
- if(_root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 2,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 6,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height,true))
- {
- _X = _X + speed;
- }
- if(_root.ground.hitTest(_X,_Y - _height - 15,true))
- {
- grav = 1;
- }
- moving = 0;
- above = 0;
- if(this._x < _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 10 && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 25 && this._currentframe != 30 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 40)
- {
- this._x += movespeed;
- _xscale = scale;
- this.gotoAndStop("run");
- attack = 0;
- moving = 1;
- }
- else if(this._x > _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 10 && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 30 && this._currentframe != 25 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 40)
- {
- this._x -= movespeed;
- _xscale = - scale;
- this.gotoAndStop("run");
- attack = 0;
- moving = 1;
- }
- if(_root.char._currentframe == 45)
- {
- this.gotoAndStop("idle");
- moving = 0;
- }
- if(!moving && this._currentframe != 5)
- {
- moving = 0;
- }
- if(this._currentframe == 35)
- {
- this._x += movespeed;
- }
- jumpHits = 9;
- i = 1;
- while(i <= jumpHits)
- {
- jumpHit = _root.ground["jumpHit" + i];
- if(this.hitTest(jumpHit) && moving == 1)
- {
- grav = - jumpHeight;
- _Y = _Y - 4;
- moving = 0;
- }
- i++;
- }
- attack = 0;
- jumping = 0;
- if(!jumping && !above && !attack && this._currentframe != 25 && this._currentframe != 20 && this.hitTest(_root.char))
- {
- if(this._currentframe != 10 && this._currentframe != 15)
- {
- attack1();
- }
- if(this._currentframe != 10 && this._currentframe != 15)
- {
- attack = 0;
- }
- }
- }
- }
- break;
- }
- if(eval("\x01") == 598)
- {
- set("\x01",eval("\x01") - 598);
- }
- break;
- }
- set("\x01",eval("\x01") + 344);
- if(function §\x01\x02§()
- {
- return 1101 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") - 359);
- }
- }
- }
- }
- }
-